projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e234202
)
(tree-widget-image-enable): Use display-images-p rather than an Emacs
author
Glenn Morris
<rgm@gnu.org>
Wed, 23 Apr 2008 02:58:55 +0000
(
02:58
+0000)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 23 Apr 2008 02:58:55 +0000
(
02:58
+0000)
version test.
lisp/tree-widget.el
patch
|
blob
|
history
diff --git
a/lisp/tree-widget.el
b/lisp/tree-widget.el
index f9845ff861a2634a56443760d8628d983d043ca5..1be86e37a9d771101d6f1aa70d04e82ce2b534fd 100644
(file)
--- a/
lisp/tree-widget.el
+++ b/
lisp/tree-widget.el
@@
-127,9
+127,9
@@
:version "22.1"
:group 'widgets)
-(defcustom tree-widget-image-enable
-
(not (or (featurep 'xemacs) (< emacs-major-version 21)
))
- "
*
Non-nil means that tree-widget will try to use images."
+(defcustom tree-widget-image-enable
(if (fboundp 'display-images-p)
+
(display-images-p
))
+ "Non-nil means that tree-widget will try to use images."
:type 'boolean
:group 'tree-widget)